<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>后台管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <link rel="stylesheet" href="/static/res/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/static/res/css/font-awesome.min.css">
    <!--CSS引用-->
    {block name="css"}{/block}
    <link rel="stylesheet" href="/static/res/css/admin.css">
    <!--[if lt IE 9]>
    <script src="__CSS__/html5shiv.min.js"></script>
    <script src="__CSS__/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<div class="layui-layout layui-layout-admin">
    <!--头部-->
    <div class="layui-header header">
        <a href=""><img class="logo" src="/static/common/images/admin_logo.png" alt=""></a>
        <ul class="layui-nav" style="position: absolute;top: 0;right: 20px;background: none;">
            <li class="layui-nav-item layui-icon" ><a href="{:url('index/index/index')}" target="_blank">&#xe68e;前台首页</a></li>
            <li class="layui-nav-item"><a href="{:url()}" target="_blank">官方网站</a></li>
            <li class="layui-nav-item"><a href="javascript:void(0)" data-url="{:url('admin/system/clear')}" id="clear-cache">清除缓存</a></li>
            <li class="layui-nav-item">
                <a href="javascript:;">{:session('admin_name')}</a>
                <dl class="layui-nav-child"> <!-- 二级菜单 -->
                    <dd><a href="{:url('admin/change_password/index')}">修改密码</a></dd>
                    <dd><a href="{:url('admin/login/logout')}">退出登录</a></dd>
                </dl>
            </li>
        </ul>
    </div>

    <!--侧边栏-->
    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <ul class="layui-nav layui-nav-tree ">
                <li class="layui-nav-item layui-nav-title"><a>管理菜单</a></li>
                <li class="layui-nav-item">
                    <a href="{:url('admin/index/index')}"><i class="layui-icon">&#xe60b;</i> 网站信息</a>
                </li>
                <li class="layui-nav-item layui-nav-itemed">
                    <a href="javascript:;"><i class="layui-icon">&#xe620;</i> 系统设置 </a>
                    <dl class="layui-nav-child">
                        
                        <dd><a href=" "> 站点配置</a></dd>
						<dd><a href=" "> 修改密码</a></dd>
                        
                    </dl>
                </li>
				<li class="layui-nav-item layui-nav-itemed">
                    <a href="javascript:;"><i class="layui-icon">&#xe60a;</i> 内容管理 </a>
                    <dl class="layui-nav-child">
                        
                        <dd><a href=" "> 帖子管理</a></dd>
						<dd><a href=" "> 评论管理</a></dd>
                        
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;"><i class="layui-icon">&#xe770;</i> 用户管理 </a>
                    <dl class="layui-nav-child">
                        
                        <dd {if(($Request.controller=="User") && ($Request.action=="index"))} class="layui-this" {/if}><a href=" "> 普通用户</a></dd>
						<dd><a href=" "> 管理员</a></dd>
                        
                    </dl>
                </li>
                <li class="layui-nav-item layui-nav-itemed">
                    <a href="javascript:;"><i class="layui-icon">&#xe620;</i> 菜单管理 </a>
                    <dl class="layui-nav-child">

                        <dd {if(($Request.controller=="Menu") && ($Request.action=="index"))} class="layui-this" {/if}>
                        <a href="{:url('admin/menu/index')}"> 站点配置</a></dd>
                        <dd><a href=" "> 修改密码</a></dd>

                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href=" "><i class=" "></i>这里是</a>
                </li>
                

                <li class="layui-nav-item" style="height: 30px; text-align: center"></li>
            </ul>
        </div>
    </div>

    <!--主体-->
    {block name="body"}{/block}

    <!--底部-->
    <div class="layui-footer footer">
        <div class="layui-main">
            <p>2017-2018 &copy; <a href="http://www.startbbs.com" target="_blank">StartBBS后台管理</a>  </p>
        </div>
    </div>
</div>


<!--JS引用-->
<script src="/static/res/mods/jquery.min.js" charset="utf-8"></script>
<script src="/static/res/layui/layui.all.js" charset="utf-8"></script>
<script src="/static/res/mods/global.js" charset="utf-8"></script>
<script src="/static/res/mods/admin.js" charset="utf-8"></script>
{block name="js"}{/block}
<!--页面JS脚本-->
{block name="script"}{/block}
</body>
</html>